home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-02-24 | 2.5 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Mon Feb 24 13:45:41 1997, modified Mon Feb 24 13:45:41 1997, creator 'CWIE', type ASCII, 1821 bytes "ooftst01.h" , at 0x79d 488 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 6f 6f 66 74 73 74 | 30 31 2e 68 00 00 00 00 |..ooftst|01.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 07 1d 00 | 00 01 e8 af 37 92 55 af |........|....7.U.|
|00000060| 37 92 55 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |7.U.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 43 00 00 00 |........|....C...|
|00000080| 2f 2f 20 69 6e 63 6c 75 | 64 65 64 20 69 6e 20 6f |// inclu|ded in o|
|00000090| 6f 66 74 65 73 74 31 2c | 20 31 33 2c 20 31 34 2c |oftest1,| 13, 14,|
|000000a0| 20 31 35 2c 20 31 38 2c | 20 32 30 2c 20 32 34 2c | 15, 18,| 20, 24,|
|000000b0| 20 32 35 20 61 6e 64 20 | 33 37 0d 0d 44 45 43 4c | 25 and |37..DECL|
|000000c0| 41 52 45 5f 43 4c 41 53 | 53 28 64 62 50 65 6f 70 |ARE_CLAS|S(dbPeop|
|000000d0| 6c 65 29 0d 09 64 62 43 | 68 61 72 09 09 4c 61 73 |le)..dbC|har..Las|
|000000e0| 74 4e 61 6d 65 2c 20 4f | 74 68 65 72 4e 61 6d 65 |tName, O|therName|
|000000f0| 73 3b 0d 09 64 62 4c 6f | 6e 67 09 09 53 61 6c 61 |s;..dbLo|ng..Sala|
|00000100| 72 79 3b 0d 09 64 62 54 | 65 78 74 09 09 44 65 73 |ry;..dbT|ext..Des|
|00000110| 63 72 69 70 74 69 6f 6e | 3b 0d 09 64 62 44 61 74 |cription|;..dbDat|
|00000120| 65 09 09 4c 61 73 74 50 | 61 69 64 3b 0d 0d 23 69 |e..LastP|aid;..#i|
|00000130| 66 6e 64 65 66 20 64 65 | 6d 6f 4e 6f 49 6e 64 65 |fndef de|moNoInde|
|00000140| 78 65 73 0d 09 64 62 50 | 65 6f 70 6c 65 28 29 20 |xes..dbP|eople() |
|00000150| 3a 0d 09 09 09 09 64 62 | 54 61 62 6c 65 28 22 50 |:.....db|Table("P|
|00000160| 65 6f 70 6c 65 22 29 2c | 0d 09 09 09 09 4c 61 73 |eople"),|.....Las|
|00000170| 74 4e 61 6d 65 28 33 39 | 2c 20 22 4c 61 73 74 20 |tName(39|, "Last |
|00000180| 4e 61 6d 65 22 2c 20 6b | 49 6e 64 65 78 43 6f 6d |Name", k|IndexCom|
|00000190| 70 72 65 73 73 29 2c 0d | 09 09 09 09 4f 74 68 65 |press),.|....Othe|
|000001a0| 72 4e 61 6d 65 73 28 37 | 39 2c 20 22 4f 74 68 65 |rNames(7|9, "Othe|
|000001b0| 72 20 4e 61 6d 65 73 22 | 2c 20 6b 49 6e 64 65 78 |r Names"|, kIndex|
|000001c0| 43 6f 6d 70 72 65 73 73 | 29 2c 0d 09 09 09 09 53 |Compress|),.....S|
|000001d0| 61 6c 61 72 79 28 22 53 | 61 6c 61 72 79 22 2c 20 |alary("S|alary", |
|000001e0| 6b 49 6e 64 65 78 65 64 | 29 2c 0d 09 09 09 09 44 |kIndexed|),.....D|
|000001f0| 65 73 63 72 69 70 74 69 | 6f 6e 28 22 44 65 73 63 |escripti|on("Desc|
|00000200| 72 69 70 74 69 6f 6e 22 | 29 2c 0d 09 09 09 09 4c |ription"|),.....L|
|00000210| 61 73 74 50 61 69 64 28 | 22 4c 61 73 74 20 50 61 |astPaid(|"Last Pa|
|00000220| 69 64 22 2c 20 6b 49 6e | 64 65 78 65 64 29 0d 09 |id", kIn|dexed)..|
|00000230| 09 09 09 7b 7d 3b 0d 23 | 65 6c 73 65 0d 09 64 62 |...{};.#|else..db|
|00000240| 50 65 6f 70 6c 65 28 29 | 20 3a 0d 09 09 09 09 64 |People()| :.....d|
|00000250| 62 54 61 62 6c 65 28 22 | 50 65 6f 70 6c 65 22 29 |bTable("|People")|
|00000260| 2c 0d 09 09 09 09 4c 61 | 73 74 4e 61 6d 65 28 33 |,.....La|stName(3|
|00000270| 39 2c 20 22 4c 61 73 74 | 20 4e 61 6d 65 22 29 2c |9, "Last| Name"),|
|00000280| 0d 09 09 09 09 4f 74 68 | 65 72 4e 61 6d 65 73 28 |.....Oth|erNames(|
|00000290| 37 39 2c 20 22 4f 74 68 | 65 72 20 4e 61 6d 65 73 |79, "Oth|er Names|
|000002a0| 22 29 2c 0d 09 09 09 09 | 53 61 6c 61 72 79 28 22 |"),.....|Salary("|
|000002b0| 53 61 6c 61 72 79 22 29 | 2c 0d 09 09 09 09 44 65 |Salary")|,.....De|
|000002c0| 73 63 72 69 70 74 69 6f | 6e 28 22 44 65 73 63 72 |scriptio|n("Descr|
|000002d0| 69 70 74 69 6f 6e 22 29 | 2c 0d 09 09 09 09 4c 61 |iption")|,.....La|
|000002e0| 73 74 50 61 69 64 28 22 | 4c 61 73 74 20 50 61 69 |stPaid("|Last Pai|
|000002f0| 64 22 2c 20 6b 49 6e 64 | 65 78 65 64 29 0d 09 09 |d", kInd|exed)...|
|00000300| 09 09 7b 7d 3b 0d 23 65 | 6e 64 69 66 0d 09 0d 2f |..{};.#e|ndif.../|
|00000310| 2f 20 6d 79 20 6f 77 6e | 20 64 61 74 61 20 65 6e |/ my own| data en|
|00000320| 74 72 79 20 70 72 6f 63 | 65 64 75 72 65 73 0d 09 |try proc|edures..|
|00000330| 76 6f 69 64 20 41 64 64 | 28 63 6f 6e 73 74 20 63 |void Add|(const c|
|00000340| 68 61 72 20 2a 6c 6e 61 | 6d 65 2c 20 63 6f 6e 73 |har *lna|me, cons|
|00000350| 74 20 63 68 61 72 20 2a | 6f 6e 61 6d 65 2c 20 63 |t char *|oname, c|
|00000360| 6f 6e 73 74 20 6c 6f 6e | 67 20 73 61 6c 61 72 79 |onst lon|g salary|
|00000370| 29 3b 0d 09 76 6f 69 64 | 20 41 64 64 54 65 73 74 |);..void| AddTest|
|00000380| 44 61 74 61 28 29 3b 0d | 7d 3b 0d 0d 76 6f 69 64 |Data();.|};..void|
|00000390| 20 64 62 50 65 6f 70 6c | 65 3a 3a 41 64 64 28 63 | dbPeopl|e::Add(c|
|000003a0| 6f 6e 73 74 20 63 68 61 | 72 20 2a 6c 6e 61 6d 65 |onst cha|r *lname|
|000003b0| 2c 20 63 6f 6e 73 74 20 | 63 68 61 72 20 2a 6f 6e |, const |char *on|
|000003c0| 61 6d 65 2c 20 63 6f 6e | 73 74 20 6c 6f 6e 67 20 |ame, con|st long |
|000003d0| 73 61 6c 61 72 79 29 0d | 7b 0d 09 6e 65 77 52 65 |salary).|{..newRe|
|000003e0| 63 6f 72 64 28 29 3b 0d | 09 4c 61 73 74 4e 61 6d |cord();.|.LastNam|
|000003f0| 65 20 3d 20 6c 6e 61 6d | 65 3b 0d 09 4f 74 68 65 |e = lnam|e;..Othe|
|00000400| 72 4e 61 6d 65 73 20 3d | 20 6f 6e 61 6d 65 3b 0d |rNames =| oname;.|
|00000410| 09 53 61 6c 61 72 79 20 | 3d 20 73 61 6c 61 72 79 |.Salary |= salary|
|00000420| 3b 0d 09 4c 61 73 74 50 | 61 69 64 2e 73 65 74 44 |;..LastP|aid.setD|
|00000430| 61 74 65 54 6f 43 75 72 | 72 65 6e 74 44 61 74 65 |ateToCur|rentDate|
|00000440| 28 29 3b 0d 09 73 61 76 | 65 52 65 63 6f 72 64 28 |();..sav|eRecord(|
|00000450| 29 3b 0d 7d 0d 0d 0d 76 | 6f 69 64 20 64 62 50 65 |);.}...v|oid dbPe|
|00000460| 6f 70 6c 65 3a 3a 41 64 | 64 54 65 73 74 44 61 74 |ople::Ad|dTestDat|
|00000470| 61 28 29 0d 7b 0d 09 41 | 64 64 28 22 53 6d 69 74 |a().{..A|dd("Smit|
|00000480| 68 22 2c 20 22 4a 6f 68 | 6e 22 2c 20 30 29 3b 20 |h", "Joh|n", 0); |
|00000490| 20 2f 2f 20 73 70 65 63 | 69 66 69 63 61 6c 6c 79 | // spec|ifically|
|000004a0| 20 74 6f 20 74 65 73 74 | 20 7a 65 72 6f 20 73 65 | to test| zero se|
|000004b0| 61 72 63 68 65 73 0d 09 | 44 65 73 63 72 69 70 74 |arches..|Descript|
|000004c0| 69 6f 6e 20 3d 20 22 4a | 6f 68 6e 20 69 73 20 61 |ion = "J|ohn is a|
|000004d0| 20 70 6c 61 69 6e 20 73 | 6f 72 74 20 6f 66 20 62 | plain s|ort of b|
|000004e0| 6c 6f 6b 65 2c 20 6e 6f | 74 20 74 68 65 20 6b 69 |loke, no|t the ki|
|000004f0| 6e 64 20 74 6f 20 73 74 | 61 6e 64 2d 6f 75 74 20 |nd to st|and-out |
|00000500| 69 6e 20 61 20 63 72 6f | 77 64 5c 6e 22 3b 0d 09 |in a cro|wd\n";..|
|00000510| 44 65 73 63 72 69 70 74 | 69 6f 6e 20 2b 3d 20 22 |Descript|ion += "|
|00000520| 61 6e 64 20 69 6e 20 66 | 61 63 74 20 79 6f 75 27 |and in f|act you'|
|00000530| 64 20 70 72 6f 62 61 62 | 6c 79 20 73 61 79 20 68 |d probab|ly say h|
|00000540| 65 27 73 20 74 68 65 20 | 63 6c 61 73 73 69 63 20 |e's the |classic |
|00000550| 4d 72 20 41 76 65 72 61 | 67 65 2e 20 48 6f 77 65 |Mr Avera|ge. Howe|
|00000560| 76 65 72 20 22 3b 0d 09 | 44 65 73 63 72 69 70 74 |ver ";..|Descript|
|00000570| 69 6f 6e 20 2b 3d 20 22 | 68 65 20 68 61 72 62 6f |ion += "|he harbo|
|00000580| 75 72 73 20 73 65 63 72 | 65 74 20 64 72 65 61 6d |urs secr|et dream|
|00000590| 73 20 6f 66 20 62 65 69 | 6e 67 20 61 20 62 72 61 |s of bei|ng a bra|
|000005a0| 69 6e 20 73 75 72 67 65 | 6f 6e 20 61 6e 64 20 61 |in surge|on and a|
|000005b0| 20 62 6c 6f 6b 65 20 27 | 77 6f 74 20 22 3b 0d 09 | bloke '|wot ";..|
|000005c0| 44 65 73 63 72 69 70 74 | 69 6f 6e 20 2b 3d 20 22 |Descript|ion += "|
|000005d0| 67 6f 65 73 20 64 6f 77 | 6e 20 74 68 65 20 73 65 |goes dow|n the se|
|000005e0| 77 65 72 73 20 69 6e 20 | 62 69 67 20 72 75 62 62 |wers in |big rubb|
|000005f0| 65 72 20 62 6f 6f 74 73 | 27 5c 6e 22 3b 0d 09 4c |er boots|'\n";..L|
|00000600| 61 73 74 50 61 69 64 20 | 2d 3d 20 32 31 3b 20 20 |astPaid |-= 21; |
|00000610| 2f 2f 20 33 20 77 65 65 | 6b 73 20 61 67 6f 0d 09 |// 3 wee|ks ago..|
|00000620| 73 61 76 65 52 65 63 6f | 72 64 28 29 3b 0d 0d 09 |saveReco|rd();...|
|00000630| 41 64 64 28 22 44 65 6e | 74 22 2c 20 22 54 72 69 |Add("Den|t", "Tri|
|00000640| 73 73 61 22 2c 20 35 30 | 30 30 29 3b 0d 09 44 65 |ssa", 50|00);..De|
|00000650| 73 63 72 69 70 74 69 6f | 6e 20 3d 20 22 54 72 69 |scriptio|n = "Tri|
|00000660| 73 73 61 20 69 73 20 6d | 61 72 72 69 65 64 20 74 |ssa is m|arried t|
|00000670| 6f 20 41 6e 64 79 20 61 | 6e 64 20 6d 6f 74 68 65 |o Andy a|nd mothe|
|00000680| 72 20 6f 66 20 54 61 6e | 69 74 68 20 61 6e 64 20 |r of Tan|ith and |
|00000690| 52 79 61 6e 22 3b 0d 09 | 73 61 76 65 52 65 63 6f |Ryan";..|saveReco|
|000006a0| 72 64 28 29 3b 0d 0d 09 | 41 64 64 28 22 44 65 6e |rd();...|Add("Den|
|000006b0| 74 22 2c 20 22 41 6e 64 | 79 22 2c 20 32 35 30 30 |t", "And|y", 2500|
|000006c0| 30 29 3b 0d 09 44 65 73 | 63 72 69 70 74 69 6f 6e |0);..Des|cription|
|000006d0| 20 3d 20 22 41 6e 64 79 | 20 68 61 73 20 61 20 44 | = "Andy| has a D|
|000006e0| 6f 6e 20 51 75 69 78 6f | 74 65 20 63 6f 6d 70 6c |on Quixo|te compl|
|000006f0| 65 78 20 62 75 74 20 68 | 69 73 20 53 61 6e 63 68 |ex but h|is Sanch|
|00000700| 6f 20 22 3b 0d 09 44 65 | 73 63 72 69 70 74 69 6f |o ";..De|scriptio|
|00000710| 6e 20 2b 3d 20 22 50 61 | 6e 7a 61 20 73 74 6f 70 |n += "Pa|nza stop|
|00000720| 73 20 68 69 6d 20 74 69 | 6c 74 69 6e 67 20 61 74 |s him ti|lting at|
|00000730| 20 74 6f 6f 20 6d 61 6e | 79 20 73 6f 66 74 77 61 | too man|y softwa|
|00000740| 72 65 20 77 69 6e 64 6d | 69 6c 6c 73 22 3b 0d 09 |re windm|ills";..|
|00000750| 4c 61 73 74 50 61 69 64 | 20 2d 3d 20 37 3b 20 20 |LastPaid| -= 7; |
|00000760| 2f 2f 20 31 20 77 65 65 | 6b 20 61 67 6f 0d 09 73 |// 1 wee|k ago..s|
|00000770| 61 76 65 52 65 63 6f 72 | 64 28 29 3b 0d 0d 09 41 |aveRecor|d();...A|
|00000780| 64 64 28 22 54 61 79 6c | 6f 72 22 2c 20 22 4b 65 |dd("Tayl|or", "Ke|
|00000790| 6e 22 2c 20 37 35 30 30 | 30 29 3b 0d 7d 00 00 00 |n", 7500|0);.}...|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 7a | 00 00 00 7a 00 00 00 6e |.......z|...z...n|
|00000810| 00 00 00 02 1e 4f 62 6a | 65 63 74 20 4d 61 73 74 |.....Obj|ect Mast|
|00000820| 65 72 aa 20 55 6e 69 76 | 65 72 73 61 6c 20 32 2e |er. Univ|ersal 2.|
|00000830| 0a 6f 6f 66 74 73 74 30 | 31 2e 68 73 02 00 00 00 |.ooftst0|1.hs....|
|00000840| 50 61 72 74 53 49 54 21 | 00 00 00 00 00 00 00 00 |PartSIT!|........|
|00000850| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 b0 1b 75 f0 00 00 | 00 00 00 00 01 e8 00 02 |....u...|........|
|00000880| 12 4f 4f 46 49 4c 45 20 | 44 65 76 65 6c 6f 70 6d |.OOFILE |Developm|
|00000890| 65 6e 74 65 01 00 00 00 | 00 16 00 00 01 9b a9 f5 |ente....|........|
|000008a0| 82 3b ac d5 27 2e 00 00 | 00 00 00 b4 fd fa 02 f9 |.;..'...|........|
|000008b0| ff a7 01 00 00 1a 00 ba | 02 00 ff f8 ff f0 00 00 |........|........|
|000008c0| 01 c7 00 00 80 00 00 00 | 01 16 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 14 00 00 00 00 02 |........|........|
|000008e0| 0e 4f 4f 46 49 4c 45 20 | 74 6f 20 73 6f 72 74 20 |.OOFILE |to sort |
|000008f0| 01 00 00 00 00 12 00 00 | 0c 2d ab 74 ce 96 ab f4 |........|.-.t....|
|00000900| 00 00 00 16 01 00 00 00 | 00 00 00 00 01 00 01 00 |........|........|
|00000910| 00 07 07 43 6f 75 72 69 | 65 72 00 00 00 08 00 00 |...Couri|er......|
|00000920| 00 00 00 00 00 00 00 00 | 00 48 00 09 4d 6f 6e 61 |........|.H..Mona|
|00000930| 63 6f 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |co......|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 03 00 04 |........|........|
|00000950| 00 56 00 09 01 d0 02 68 | 00 56 00 09 01 d0 02 68 |.V.....h|.V.....h|
|00000960| af 68 71 d8 00 00 01 ca | 00 00 01 ca 00 00 03 7b |.hq.....|.......{|
|00000970| 01 00 00 00 00 04 00 01 | 00 01 00 00 01 00 00 00 |........|........|
|00000980| 01 7a 00 00 00 7a 00 00 | 00 6e 01 a3 eb 60 2d 2c |.z...z..|.n...`-,|
|00000990| 00 00 00 1c 00 6e 00 03 | 46 50 52 46 00 00 00 22 |.....n..|FPRF..."|
|000009a0| 46 50 72 66 00 00 00 2e | 4d 50 53 52 00 00 00 3a |FPrf....|MPSR...:|
|000009b0| 4d 57 42 42 00 00 00 46 | 05 1a ff ff 00 00 00 00 |MWBB...F|........|
|000009c0| 00 00 00 00 05 1a ff ff | 00 00 00 1a 00 00 00 00 |........|........|
|000009d0| 03 ed ff ff 00 00 00 26 | 00 00 00 00 03 f0 ff ff |.......&|........|
|000009e0| 00 00 00 72 00 00 00 00 | 00 00 00 00 00 00 00 00 |...r....|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+